package top.soulblack.purchasesale.mapper;

import java.util.List;

import org.apache.ibatis.annotations.Mapper;
import org.springframework.stereotype.Component;
import top.soulblack.purchasesale.model.WechatUser;

@Mapper
@Component
public interface WechatUserMapper {
    int deleteByPrimaryKey(Long id);

    int insert(WechatUser record);

    WechatUser selectByPrimaryKey(Long id);

    WechatUser selectByAccount(String account);

    List<WechatUser> selectAll();

    int updateByPrimaryKey(WechatUser record);
}